package cn.amarone.wineblog.models.sys.service;

import cn.amarone.wineblog.models.sys.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.lang.NonNull;

/**
 * 服务类
 *
 * @author amarone
 * @since 2020-09-08
 */
public interface IUserService extends IService<SysUser> {

  /**
   * 根据用户名称查询用户信息
   *
   * @param userName 用户名称 must be not null
   * @description state control
   * @return
   */
  SysUser selectByNameStateControl(@NonNull String userName);
}
